#pragma once
#include "OgitorsSingleton.h"
#include "BaseMat.h"
using namespace Ogitors;
class MatEditorManager : public    Ogitors::Singleton<MatEditorManager>
{
public:
	MatEditorManager(void);
	~MatEditorManager(void);

	//void             addFactory(CBaseMatFactory * base,const Ogre::String &name);

	BaseMat *        CreateMatTep(const Ogre::String &name,Ogre::NameValuePairList &params,matUiEditor * pMat);

	 void             deleteMatTep(BaseMat * );

	//FactoryMAT *     getFactoryMat() {return &m_FactoryMAT;}
	//export mat
	void             exportMat(const Ogre::String & path);

protected:
	//FactoryMAT          m_FactoryMAT;
	VMATLIST             m_VMATLIST;
};
